﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BusinessLogic.Model;

namespace BusinessLogic.Model.Repository.NewsItemRepositories
{
    public interface INewsItemRepository : IRepository
    {
        IQueryable<NewsItem> GetByTags(string tagParam);
        NewsItem Get(int newsItemID);
        byte[] GetImage(int newsItemID);
        void Delete(NewsItem newsItem);
        BlogNETDataContext DataContext { get; }
    }
}
